package com.petadoption.serverclient.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.petadoption.serverclient.entity.Product;
import com.petadoption.serverclient.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 汪仕杰
 * @since 2023-08-28
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    List<ProductVO> findProductAll();

    List<ProductVO> findProduct(String parameter);

    ProductVO findProductById(Integer productId);

}
